package com.ruoyi.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 申报项目对象 project_application
 * 
 * @author czj
 * @date 2025-01-06
 */
public class ProjectApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long applicationId;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 申报人id */
    @Excel(name = "申报人id")
    private Long applicantId;

    /** 申报单位 */
    @Excel(name = "申报单位")
    private String applicationUnit;

    /** 申报日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申报日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationDate;

    /** 经费来源 */
    @Excel(name = "经费来源")
    private String fundSource;

    /** 申报书文件路径 */
    @Excel(name = "申报书文件路径")
    private String applicationFilePath;

    /** 附件路径 */
    @Excel(name = "附件路径")
    private String attachmentPath;

    /** 申报状态 */
    @Excel(name = "申报状态")
    private Long applicationStatus;

    /** 项目团队成员 */
    @Excel(name = "项目团队成员")
    private String teamMembers;

    /** 审核人id */
    @Excel(name = "审核人id")
    private Long approverId;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String approvalComments;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedBy;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deletedBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedAt;

    /** 删除标记，0=未删除，1=已删除 */
    @Excel(name = "删除标记，0=未删除，1=已删除")
    private Integer isDeleted;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long version;

    public void setApplicationId(Long applicationId) 
    {
        this.applicationId = applicationId;
    }

    public Long getApplicationId() 
    {
        return applicationId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setApplicantId(Long applicantId) 
    {
        this.applicantId = applicantId;
    }

    public Long getApplicantId() 
    {
        return applicantId;
    }
    public void setApplicationUnit(String applicationUnit) 
    {
        this.applicationUnit = applicationUnit;
    }

    public String getApplicationUnit() 
    {
        return applicationUnit;
    }
    public void setApplicationDate(Date applicationDate) 
    {
        this.applicationDate = applicationDate;
    }

    public Date getApplicationDate() 
    {
        return applicationDate;
    }
    public void setFundSource(String fundSource) 
    {
        this.fundSource = fundSource;
    }

    public String getFundSource() 
    {
        return fundSource;
    }
    public void setApplicationFilePath(String applicationFilePath) 
    {
        this.applicationFilePath = applicationFilePath;
    }

    public String getApplicationFilePath() 
    {
        return applicationFilePath;
    }
    public void setAttachmentPath(String attachmentPath) 
    {
        this.attachmentPath = attachmentPath;
    }

    public String getAttachmentPath() 
    {
        return attachmentPath;
    }
    public void setApplicationStatus(Long applicationStatus) 
    {
        this.applicationStatus = applicationStatus;
    }

    public Long getApplicationStatus() 
    {
        return applicationStatus;
    }
    public void setTeamMembers(String teamMembers) 
    {
        this.teamMembers = teamMembers;
    }

    public String getTeamMembers() 
    {
        return teamMembers;
    }
    public void setApproverId(Long approverId) 
    {
        this.approverId = approverId;
    }

    public Long getApproverId() 
    {
        return approverId;
    }
    public void setApprovalComments(String approvalComments) 
    {
        this.approvalComments = approvalComments;
    }

    public String getApprovalComments() 
    {
        return approvalComments;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }
    public void setDeletedBy(String deletedBy) 
    {
        this.deletedBy = deletedBy;
    }

    public String getDeletedBy() 
    {
        return deletedBy;
    }
    public void setDeletedAt(Date deletedAt) 
    {
        this.deletedAt = deletedAt;
    }

    public Date getDeletedAt() 
    {
        return deletedAt;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applicationId", getApplicationId())
            .append("projectId", getProjectId())
            .append("applicantId", getApplicantId())
            .append("applicationUnit", getApplicationUnit())
            .append("applicationDate", getApplicationDate())
            .append("fundSource", getFundSource())
            .append("applicationFilePath", getApplicationFilePath())
            .append("attachmentPath", getAttachmentPath())
            .append("applicationStatus", getApplicationStatus())
            .append("teamMembers", getTeamMembers())
            .append("approverId", getApproverId())
            .append("approvalComments", getApprovalComments())
            .append("createdBy", getCreatedBy())
            .append("createdAt", getCreatedAt())
            .append("updatedBy", getUpdatedBy())
            .append("updatedAt", getUpdatedAt())
            .append("deletedBy", getDeletedBy())
            .append("deletedAt", getDeletedAt())
            .append("isDeleted", getIsDeleted())
            .append("version", getVersion())
            .toString();
    }
}
